body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 13px;
	-webkit-font-smoothing: antialiased;
  margin:0;
  padding:0;
  overflow:hidden;
}

h4 {
	margin-top: 24px;
	margin-bottom: 8px;
}

#layer-info {
  position: fixed;
  z-index: 9;
  margin: 20px;
  left: 0;
  bottom: 0;
  white-space: nowrap;
  pointer-events: none;
}

#no-token-warning {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	padding: 20px;
	max-width: 240px;
	text-align: center;
	background: rgba(255, 255, 255, 0.5);
}

#control-panel {
	position: fixed;
	z-index: 9;
	top: 0;
  bottom: 0;
	right: 0;
  overflow-x: hidden;
  overflow-y: auto;
  height: 100%;
  width: 400px;
  background: rgba(255, 255, 255, 0.8);
}

#control-panel > div{
	padding: 0 20px 20px 20px;
}

.layer-controls {
	border: groove 2px #fff;
  border-left: none;
  border-right: none;
  padding: 8px 0;
}

/* Checkbox style adapted from http://cssdeck.com/labs/css-checkbox-styles */
.input-group {
  color: #333;
  line-height: 28px;
  display: flex;
  width: 100%;
  align-items: center;
}
.input-group > * {
  min-width: 24px;
}
.input-group > label {
  width: 140px;
}
.input-group .addon {
  cursor: pointer;
  color: #ccc;
  text-align: right;
}
.input-group .addon:hover {
  color: #000;
}
.input-group .addon.on {
  color: #048 !important;
}
.input-group .input {
  flex-grow: 1;
}
.input-group .input input {
  width: 100%;
  vertical-align: middle;
}
.color-picker {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  border: solid 1px #ccc;
  display: block;
  margin: 5px 2px;
}

.color-palette-picker {
	width: 120px;
	display: block;
	line-height: 24px;
}

.color-palette-picker .block {
	display: inline-block;
	vertical-align: middle;
	height: 18px;
}

.color-palette-picker .picker-checkbox {
	display: inline-block;
}

.checkbox {
	text-align: center;
	width: 20px;
	height: 20px;
	margin: 12px 20px 12px 0;
	background: #fcfcfc;
	border-radius: 50px;
	box-shadow: inset 0px 1px 1px white, 0px 1px 3px rgba(0,0,0,0.5);
	position: relative;
}

.checkbox input {
  visibility: hidden;
}

.checkbox label {
  color: #333;
	cursor: pointer;
	position: absolute;
	width: 14px;
	height: 14px;
	border-radius: 50px;
	left: 3px;
	top: 3px;
	white-space: nowrap;
	box-shadow: inset 0px 1px 1px rgba(0,0,0,0.5), 0px 1px 0px rgba(255,255,255,1);
}

.checkbox label > span {
	padding-left: 30px;
}

.checkbox label:after {
	opacity: 0.1;
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background: #000000;
	border-radius: 50px;
	box-shadow: 0px 1px 3px rgba(0,0,0,0.5);
}

.checkbox label:hover::after {
	opacity: 0.3;
}

.checkbox input:checked + label:after {
	background: #40bf00;
	opacity: 1;
}
